package com.ocom.webapi.feign;

import com.alibaba.fastjson.JSONObject;
import com.ocom.common.constant.ExposeApiUrl;
import com.ocom.common.request.exposeapi.boczhxy.AuthenticationRequest;
import com.ocom.common.request.exposeapi.ssgl.KqTokenRequest;
import com.ocom.common.resp.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "exposeapi")
public interface ExposeapiFeignService {


    @PostMapping(ExposeApiUrl.UEL_ExposeApi_boczhxy_confirmTrace)
    public Result confirmTrace(@RequestBody AuthenticationRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_ocomkqAuthLogin)
    public Result authLogin(@RequestBody KqTokenRequest request) ;

    @PostMapping(ExposeApiUrl.URL_ExposeApi_ocomkqAuthLogin)
    public Result authLogin(@RequestBody JSONObject request) ;

}
